<template>
  <div class="left-side">
    <div class="left-side-inner">
      <router-link to="/" class="logo block">
        <h2>库存中心查询</h2>
      </router-link>
      <el-menu
        class="menu-box"
        router
        :default-active="$route.path">
        <MyMenu :menuList="nav_menu_data"></MyMenu>
      </el-menu>
    </div>
  </div>
</template>
<script type="text/javascript">
  import MyMenu from './MyMenu.vue'

  export default {
    name: 'slide',
    data() {
      return {
        nav_menu_data: [
        {
            title: "库存信息查询",
            path: "/inv",
            name: 'home',
            icon: "el-icon-folder",
            child: [
              {
                title: "库存信息(库位)",
                path: "/positionStock",
                name: 'positionStock',
                icon: "el-icon-star-off"
              },
              {
                title: "单据占用",
                path: "/billOccpy",
                name: 'billOccpy',
                icon: "el-icon-star-off",
              },
              {
                title: "头程明细",
                path: "/headTransitDetail",
                name: 'headTransitDetail',
                icon: "el-icon-star-off",
              },
              {
                title: "报错单据修复",
                path: "/errorOrderFix",
                name: 'errorOrderFix',
                icon: "el-icon-star-off",
              },
              {
                title: "采购在途",
                path: "/purchaseTransitDetail",
                name: 'purchaseTransitDetail',
                icon: "el-icon-star-off",
              },
              {
                title: "不良品在途查询",
                path: "/purchaseTransitForBadGoodDetail",
                name: 'purchaseTransitForBadGoodDetail',
                icon: "el-icon-star-off",
              }
            ]
          },
          // {
          //   title: "舆情概览",
          //   path: "/home",
          //   name: 'yuqingganlan',
          //   icon: "el-icon-star-off"
          // },
          {
            title: "图片识别",
            path: "/picture",
            name: '图片识别',
            icon: "el-icon-folder",
            child:[
            {
                title: "图片识别",
                path: "/picture",
                name: '图片识别',
                icon: "el-icon-star-off"
              },
            ]
          },
          {
            title: "仓库列表",
            path: "/whList",
            name: '仓库列表',
            icon: "el-icon-folder",
            child:[
              {
                title: "仓库列表",
                path: "/whList",
                name: '仓库列表',
                icon: "el-icon-star-off"
              },
            ]
          }
          // {
          //   title: "舆情监测",
          //   path: "/monitor",
          //   icon: "el-icon-news",
          //   child: [
          //     {
          //       title: "话题列表",
          //       path: "/consensus",
          //       name: 'consensus',
          //       icon: "el-icon-tickets",
          //     }, {
          //       title: "博文列表",
          //       path: "/article",
          //       name: 'article',
          //       icon: "el-icon-tickets",
          //     },
          //   ]
          // },
          // {
          //   title: "舆情分析",
          //   path: "/analysis",
          //   icon: "el-icon-search",
          //   child: [
          //     {
          //       title: "话题分析",
          //       path: "/consensus/detail",
          //       name: 'consensusDetail',
          //       icon: "el-icon-date",
          //     }, {
          //       title: "搜索分析",
          //       path: "/keyword",
          //       name: 'keyword',
          //       icon: "el-icon-tickets",
          //     }, 
          //   ]
          // },
          // {
          //   title: "预警任务",
          //   path: "/warning",
          //   name: 'warning',
          //   icon: "el-icon-message",
          // }
        ]
      }
    },
    components: {
      MyMenu
    }
  }
</script>

<style>
  h2 {
    color: #65cea7;
  }
</style>


